<?php
/**
 * Clase FN para SoDeliveryLineaFN
 *
 * @package    
 * @subpackage SoDeliveryLineaFN
 * @author     hans
 * @version    SVN:: SoDeliveryLineaFN.class.php,v 1.1 2012-05-01 22:34:07 Hans.parra Exp $
 */

require_once('class/common/conexion.php');
require_once('class/im/dlv/BFN/BaseSoDeliveryLineaFN.class.php');
require_once('class/im/articulos/FN/ImArticuloFN.class.php');

class SoDeliveryLineaFN extends BaseSoDeliveryLineaFN
{
  public function selectSoDeliveryItemDetalle()
  {
    $o_SoDeliveryLineaFN = $this->select();
		if($o_SoDeliveryLineaFN)
		{
			foreach ($o_SoDeliveryLineaFN as $key => $obj)
			{
				/*detalle de Articulo*/
				$o_ImArticuloFN = new ImArticuloFN();
				$o_ImArticuloFN->setArticuloId($obj->getArtId());
				$obj->set_oDetalleItemBean($o_ImArticuloFN->selectByPK());
			}
		}
	return $o_SoDeliveryLineaFN;
  }

}